

/* ================设备列表页面========== */
/* 筛选栏 */
#filter-box {
    margin-top: 24px;
    overflow: hidden;
    padding: 0 20px;
}
#filter-box li {
    width: 120px;
    margin-right: 20px;
    margin-bottom: 18px;
    height: 30px;
    box-sizing: border-box;
    border-radius: 20px;
    border: 1px solid #e5ebed;
    text-align: center;
    line-height: 28px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}
#filter-box li.active {
    background: #f3af33;
    border: 0;
    color: #fff;
}


/* 操作栏（布局转换）*/
.layput-change {
    overflow: hidden;
    box-sizing: border-box;
}
.layput-change li {
    float: left;
    width: 42px;
    height: 43px;
    margin-top: -1px;
    padding: 0 14px;
    box-sizing: border-box;
    line-height: 39px;
    cursor: pointer;
    border: 1px solid transparent;
}
.layput-change li a {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url(../image/icon.png) no-repeat;
}
.layput-change li.active{
    background-color: #fff;
    border-color: #e8e8e8;
}
.layput-change li.active a.grid-icon {
    background-position: -80px 0;
}
.layput-change li.active a.list-icon {
    background-position: -96px 0;
}
.layput-change li a.grid-icon {
    background-position: -80px -20px;
}
.layput-change li a.list-icon {
    background-position: -96px -20px;
}


/* 状态提示栏 */
.tips-box {
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border:1px solid #ffe5bd;
    background: #fff1dc;
    margin-top: 10px;
}
.tips-box .tip-left ul{
    overflow: hidden;
}
.tips-box .tip-left ul li {
    padding-left: 30px;
    box-sizing: border-box;
    width:154px;
    float: left;
    overflow: hidden;
}
.tips-box .tip-left ul li span {
    float: left;
}
.tips-box .tip-left .tip-icon {
    width: 6px;
    height: 24px;
    border-radius: 2px 0 0 0;
    margin-top: 6px;
}
.tips-box .tip-left .tip-icon.alert {
    background: #c81623;
}
.tips-box .tip-left .tip-icon.stop {
    background: #666;
}
.tips-box .tip-left .tip-icon.normal {
    background: #78c16e;
}
.tips-box .tip-left .signal-icon {
    width: 24px;
    height: 17px;
    display: inline-block;
    margin-top: 9px;
    background: url("../image/icon.png") no-repeat;
}
.tips-box .tip-left .signal-icon.on {
    background-position: -112px 0;
}
.tips-box .tip-left .signal-icon.off {
    background-position: -112px -20px;
}
.tips-box .tip-left .tip-text {
    margin-left: 8px;
    line-height: 36px;
}
.tips-box .tip-right {
    overflow: hidden;
    line-height: 36px;
}
.tips-box .tip-right .close-icon {
    width: 7px;
    height: 7px;
    background: url("../image/icon.png") no-repeat -140px -31px;
    margin: 15px 15px 0 8px;
    cursor: pointer;
}
.tips-box .tip-right .close-icon:hover {
    background-position: -140px -20px;
}

/* 内容展示布局转换 */
.layout-option {
    margin-top: 16px;
}
.list-layout {
    display: none;
}
.layout-option ul.device-list {
    overflow: hidden;
    width:100%;
}
.layout-option ul.device-list li.device-list-item {
    float: left;
    margin:0 10px 20px;
    box-sizing: border-box;
    width:280px;
    border:1px solid #eee;
    border-radius: 4px;
    background: #f6f6f6;
}
.list-layout ul.device-list li.device-list-item:nth-child(even) {
    float: right;
}
.list-layout ul.device-list li.device-list-item {
    margin:0 0 20px 0;
    width: 590px;
}
.layout-option ul.device-list a {
    display: block;
}
.layout-option ul.device-list .item-top {
    border-bottom: 1px solid #eee;
    height:46px;
    line-height: 46px;
    position: relative;
}
.list-layout ul.device-list .item-top{
    height: 33px;
    line-height: 33px;
    font-size: 12px;
}

.layout-option ul.device-list .item-top > div {
    position: absolute;
}
.layout-option ul.device-list .item-top .status-icon {
    left:0;
    top:0;
    width: 6px;
    height: 47px;
    border-radius: 4px 0 0 0 ;
}
.list-layout ul.device-list .item-top .status-icon {
    height: 34px;
}
.layout-option ul.device-list .item-top .status-icon.normal {
    background: #78c16e;
}
.layout-option ul.device-list .item-top .status-icon.alert {
    background: #c81623;
}
.layout-option ul.device-list .item-top .status-icon.stop {
    background: #666;
}
.layout-option ul.device-list .item-top .device-code {
    left: 20px;
}
.layout-option ul.device-list li .item-top .signal-icon {
    right: 16px;
    top:10px;
    width: 24px;
    height: 17px;
    background: url("../image/icon.png") no-repeat;
}
.layout-option ul.device-list li .item-top .signal-icon.on {
    background-position: -112px 0;
}
.layout-option ul.device-list li .item-top .signal-icon.off{
    background-position: -112px -20px;
}
.grid-layout ul.device-list .pie-box {
    width: 100%;
    height: 168px;
    background: #f8f8f8;
    border-bottom:1px solid #eee;
    overflow: hidden;
}

/* 图表 */
.pie-bg {
    width: 137px;
    height: 137px;
    background: url("../image/pie_bg.png") no-repeat;
    background-size: 100%;
    margin: 12px auto;
    overflow: hidden;
}
.pie-bg #lineargradient-pie {
    margin: 18px auto;
}
.grid-layout ul.device-list .device-param {
    width: 100%;
    height: 49px;
    background: url("../image/line.png") no-repeat center bottom;
}
.grid-layout ul.device-list .device-param ul {
    overflow: hidden;
    margin-left: -1px;
}
.grid-layout ul.device-list .device-param li {
    float: left;
    border-right: 1px solid #eee;
    width:92px;
    height:48px;
    text-align: center;
    background: #fdfdfd;
}
.grid-layout ul.device-list .device-param li .pram-num {
    line-height: 30px;
    color: #596679;
}
.grid-layout ul.device-list .device-param li .pram-text {
    font-size: 12px;
}
.grid-layout ul.device-list .customer-msg{
    padding: 16px 14px;
    width: 100%;
    box-sizing: border-box;
}
.grid-layout ul.device-list .customer-msg .customer-name {
    font-size: 16px;
    line-height: 24px;
    color: #596679;
    font-weight: bold;
    margin-bottom: 6px;
}
.layout-option ul.device-list .customer-msg .model-msg {
    overflow: hidden;
    font-size: 12px;
}

.list-layout .item-bottom {
    overflow: hidden;
}
.list-layout .item-bottom .device-param ul{
    overflow: hidden;
}
.list-layout .item-bottom .device-param ul li {
    float: left;
    width:94px;
    height: 110px;
    background: url("../image/line2.jpg") no-repeat right center;
    text-align: center;
}
.list-layout .item-bottom .device-param ul li .pram-num {
    margin: 30px 0 20px;
    color: #596679;
    font-size: 22px;
}
.list-layout .item-bottom .device-param ul li .pram-text {
    font-size: 14px;
}
.list-layout .item-bottom .customer-msg {
    padding: 12px 10px 0 5px;
    width:306px;
    box-sizing: border-box;
}
.list-layout .item-bottom .customer-name {
    font-size: 14px;
    font-weight: bold;
    color: #596679;
    margin-bottom: 10px;
}
.list-layout .item-bottom .model-msg li {
    margin-bottom: 10px;
}

.model-msg li:nth-child(odd){
    float: left;
}
.model-msg li:nth-child(even){
    float: right;
}





